package com.wwtech.epp.entity;

import com.wwtech.epp.db.Friend;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by huzhipeng on 2017/12/6.
 */

public class GroupInfo extends BaseBack {

    /**
     * data : {"groupAvatar":"https://s3.cn-north-1.amazonaws.com.cn/zxltest/group_default.png","groupDescription":"刘松涛龚厚文,郭腾飞,唐义松的群聊","groupId":41,"groupName":"刘松涛龚厚文,郭腾飞,唐义松的群聊","groupOwnUserId":10213,"groupUsersProfile":[{"avatar":"http://s3.cn-north-1.amazonaws.com.cn/zxltest/20171020/fdb946e1784042359184feb4745021b0.jpg","birthday":null,"email":"","gender":true,"intro":"","location":"","name":"刘松涛","nickName":"刘松涛","orgTitle":"益阳城投总经理","phone":"13467373333","qq":0,"roleLevel":3,"updatedTime":"2017-11-08 16:59:31","userId":10213,"wechat":""},{"avatar":"http://s3.cn-north-1.amazonaws.com.cn/zxltest/20171108/abc8e95595cb4cb9902c2c756de5bb03.jpg","birthday":null,"email":"","gender":true,"intro":"","location":"","name":"唐义松","nickName":"唐义松","orgTitle":"益阳城投副总经理、古城公司总经理","phone":"13973787777","qq":0,"roleLevel":2,"updatedTime":"2017-11-08 17:20:00","userId":10214,"wechat":""},{"avatar":"https://s3.cn-north-1.amazonaws.com.cn/zxl/head/male_avatar%403x.png","birthday":null,"email":"","gender":true,"intro":"","location":"","name":"龚厚文","nickName":"龚厚文","orgTitle":"益阳城投纪检组组长","phone":"17773777378","qq":0,"roleLevel":2,"updatedTime":"2017-11-08 17:02:11","userId":10221,"wechat":""},{"avatar":"https://s3.cn-north-1.amazonaws.com.cn/zxl/head/male_avatar%403x.png","birthday":null,"email":"","gender":true,"intro":"","location":"","name":"郭腾飞","nickName":"郭腾飞","orgTitle":"经营开发部现场管理","phone":"18373713071","qq":0,"roleLevel":0,"updatedTime":"2017-11-08 16:59:34","userId":10266,"wechat":""}]}
     */

    private DataBean data;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * groupAvatar : https://s3.cn-north-1.amazonaws.com.cn/zxltest/group_default.png
         * groupDescription : 刘松涛龚厚文,郭腾飞,唐义松的群聊
         * groupId : 41
         * groupName : 刘松涛龚厚文,郭腾飞,唐义松的群聊
         * groupOwnUserId : 10213
         * groupUsersProfile : [{"avatar":"http://s3.cn-north-1.amazonaws.com.cn/zxltest/20171020/fdb946e1784042359184feb4745021b0.jpg","birthday":null,"email":"","gender":true,"intro":"","location":"","name":"刘松涛","nickName":"刘松涛","orgTitle":"益阳城投总经理","phone":"13467373333","qq":0,"roleLevel":3,"updatedTime":"2017-11-08 16:59:31","userId":10213,"wechat":""},{"avatar":"http://s3.cn-north-1.amazonaws.com.cn/zxltest/20171108/abc8e95595cb4cb9902c2c756de5bb03.jpg","birthday":null,"email":"","gender":true,"intro":"","location":"","name":"唐义松","nickName":"唐义松","orgTitle":"益阳城投副总经理、古城公司总经理","phone":"13973787777","qq":0,"roleLevel":2,"updatedTime":"2017-11-08 17:20:00","userId":10214,"wechat":""},{"avatar":"https://s3.cn-north-1.amazonaws.com.cn/zxl/head/male_avatar%403x.png","birthday":null,"email":"","gender":true,"intro":"","location":"","name":"龚厚文","nickName":"龚厚文","orgTitle":"益阳城投纪检组组长","phone":"17773777378","qq":0,"roleLevel":2,"updatedTime":"2017-11-08 17:02:11","userId":10221,"wechat":""},{"avatar":"https://s3.cn-north-1.amazonaws.com.cn/zxl/head/male_avatar%403x.png","birthday":null,"email":"","gender":true,"intro":"","location":"","name":"郭腾飞","nickName":"郭腾飞","orgTitle":"经营开发部现场管理","phone":"18373713071","qq":0,"roleLevel":0,"updatedTime":"2017-11-08 16:59:34","userId":10266,"wechat":""}]
         */

        private String groupAvatar;
        private String groupDescription;
        private int groupId;
        private String groupName;
        private int groupOwnUserId;
        private ArrayList<Friend> groupUsersProfile;

        public String getGroupAvatar() {
            return groupAvatar;
        }

        public void setGroupAvatar(String groupAvatar) {
            this.groupAvatar = groupAvatar;
        }

        public String getGroupDescription() {
            return groupDescription;
        }

        public void setGroupDescription(String groupDescription) {
            this.groupDescription = groupDescription;
        }

        public int getGroupId() {
            return groupId;
        }

        public void setGroupId(int groupId) {
            this.groupId = groupId;
        }

        public String getGroupName() {
            return groupName;
        }

        public void setGroupName(String groupName) {
            this.groupName = groupName;
        }

        public int getGroupOwnUserId() {
            return groupOwnUserId;
        }

        public void setGroupOwnUserId(int groupOwnUserId) {
            this.groupOwnUserId = groupOwnUserId;
        }

        public ArrayList<Friend> getGroupUsersProfile() {
            return groupUsersProfile;
        }

        public void setGroupUsersProfile(ArrayList<Friend> groupUsersProfile) {
            this.groupUsersProfile = groupUsersProfile;
        }

        public static class GroupUsersProfileBean {
            /**
             * avatar : http://s3.cn-north-1.amazonaws.com.cn/zxltest/20171020/fdb946e1784042359184feb4745021b0.jpg
             * birthday : null
             * email :
             * gender : true
             * intro :
             * location :
             * name : 刘松涛
             * nickName : 刘松涛
             * orgTitle : 益阳城投总经理
             * phone : 13467373333
             * qq : 0
             * roleLevel : 3
             * updatedTime : 2017-11-08 16:59:31
             * userId : 10213
             * wechat :
             */

            private String avatar;
            private Object birthday;
            private String email;
            private boolean gender;
            private String intro;
            private String location;
            private String name;
            private String nickName;
            private String orgTitle;
            private String phone;
            private int qq;
            private int roleLevel;
            private String updatedTime;
            private int userId;
            private String wechat;

            public String getAvatar() {
                return avatar;
            }

            public void setAvatar(String avatar) {
                this.avatar = avatar;
            }

            public Object getBirthday() {
                return birthday;
            }

            public void setBirthday(Object birthday) {
                this.birthday = birthday;
            }

            public String getEmail() {
                return email;
            }

            public void setEmail(String email) {
                this.email = email;
            }

            public boolean isGender() {
                return gender;
            }

            public void setGender(boolean gender) {
                this.gender = gender;
            }

            public String getIntro() {
                return intro;
            }

            public void setIntro(String intro) {
                this.intro = intro;
            }

            public String getLocation() {
                return location;
            }

            public void setLocation(String location) {
                this.location = location;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getNickName() {
                return nickName;
            }

            public void setNickName(String nickName) {
                this.nickName = nickName;
            }

            public String getOrgTitle() {
                return orgTitle;
            }

            public void setOrgTitle(String orgTitle) {
                this.orgTitle = orgTitle;
            }

            public String getPhone() {
                return phone;
            }

            public void setPhone(String phone) {
                this.phone = phone;
            }

            public int getQq() {
                return qq;
            }

            public void setQq(int qq) {
                this.qq = qq;
            }

            public int getRoleLevel() {
                return roleLevel;
            }

            public void setRoleLevel(int roleLevel) {
                this.roleLevel = roleLevel;
            }

            public String getUpdatedTime() {
                return updatedTime;
            }

            public void setUpdatedTime(String updatedTime) {
                this.updatedTime = updatedTime;
            }

            public int getUserId() {
                return userId;
            }

            public void setUserId(int userId) {
                this.userId = userId;
            }

            public String getWechat() {
                return wechat;
            }

            public void setWechat(String wechat) {
                this.wechat = wechat;
            }
        }
    }
}
